/*
 * Copyright(c) 2018 优居科技 All rights reserved.
 * distributed with this file and available online at
 * http://www.yjyz.com/
 */
package com.zb.api.business.mapper;
import com.zb.api.business.dto.CityDto;
import com.zb.api.business.dto.UserDesignerDto;
import com.zb.api.business.entity.PosMerchantEntity;
import com.zb.api.common.models.CityVo;
import com.zb.api.common.models.ComboBoxVO;
import org.apache.ibatis.annotations.Mapper;
import java.util.List;


/**
* 商户表
 *
 * @author cwp
 * @version v1.0
 * @CreationTime: - 2022-02-08 14:19:30
 * @Description:
 */
@Mapper
public interface PosMerchantMapper  {

	/**
	 * 获取商户表数据
	 * @param posMerchant
	 * @return
	 */
	List<PosMerchantEntity> getList(PosMerchantEntity posMerchant);

	/**
	 * 获取商户表详情
	 * @param id
	 * @return
	 */
	PosMerchantEntity get(String id);


	/**
	 * 商户表修改
	 * @param posMerchant
	 * @return 记录影响行数
	 */
	int update(PosMerchantEntity posMerchant);

	/**
	 * 商户表添加
	 * @param posMerchant
	 * @return 记录影响行数
	 */
	int insert(PosMerchantEntity posMerchant);

	/**
	 * 商户表删除
	 * @param posMerchant
	 * @return 记录影响行数
	 */
	int delete(PosMerchantEntity posMerchant);


    List<CityVo> getCityList(CityVo cityVo);

    int addDesigner(UserDesignerDto userDesignerDto);

	PosMerchantEntity getMerchant(Integer id);

	void delDesigner(Integer id);

    List<UserDesignerDto> getDesignerList(UserDesignerDto userDesignerDto);

    UserDesignerDto getDesigner(Integer id);
}